<template>
  <div>
    <el-dialog width="800px" top="30vh" title="查看芝麻风控信息" :visible.sync="dialogVisible" :close-on-click-modal="true">
      <el-descriptions title="" direction="vertical" :column="3" border>
        <el-descriptions-item label="综合风险等级">{{editItem.rentOnlineRiskLevelOverall==0?'低风险':editItem.rentOnlineRiskLevelOverall==1?'中风险':editItem.rentOnlineRiskLevelOverall==2?'高风险':'极高风险'}}</el-descriptions-item>
        <el-descriptions-item label="共租行为等级">{{editItem.rentOnlineRiskLevelMultiRent==0?'共租风险低':editItem.rentOnlineRiskLevelMultiRent==1?'共租风险中':'共租风险高'}}</el-descriptions-item>
        <el-descriptions-item label="履约历史等级">{{editItem.rentOnlineRiskLevelFulfill==0?'无逾期':'正在逾期或者历史有N+逾期'}}</el-descriptions-item>
      </el-descriptions>
      <br>
      <div slot="footer" class="dialog-footer">
      <el-button size="small" @click="dialogVisible = false">取 消</el-button>
    </div>
    </el-dialog>
  </div>

</template>

<script>
export default {
  props: ['editItem'],
  data() {
    return {
      dialogVisible: false
    }
  },
  methods: {


  },
  watch: {
    dialogVisible(val) {
      if (val) {
        console.log(this.editItem);
      }
    }
  }
}
</script>

<style lang="scss" scoped>
.type_tip {
  color: #999999;
  line-height: 22px;

  span {
    color: #ff4146;
  }
  .my-content{
    background: #FDE2E2;
  }
}
</style>
